<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            background-color: aliceblue;
        }
    </style>
</head>
<body>
<div align="center">
    <h1>欢迎来到登录页面</h1>
    <hr>
    <form action="" method="post">
        {% csrf_token %}

        <table align="center">
            <tr>
                <td>请输入账号：</td>
                <td><input type="text" name="username" placeholder="请输入账号"></td>
            </tr>
            <tr>
                <td>请输入密码：</td>
                <td><input type="text" name="password" placeholder="请输入密码"></td>
            </tr>
            <tr align="center" style="font-size: 10px; color: red"><td colspan="2">{{ error }}</td></tr>
             <tr>
                 <td>请选择身份:</td>
                 <td><select name="zhi" id="">
                 <option value="0">-----</option>
                <option value="1">学生登录</option>
                <option value="2">教师登录</option>
            </select></td>
             </tr>
            <tr align="center"><td colspan="2"><input type="submit" name="登录"></td></tr>

        </table>
    </form>
</div>
</body>
</html>